<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <title>I Can Flay</title>
    <link rel="stylesheet" href="{:asset('admin/vendors/bootstrap/css/bootstrap.css')}">
    <link rel="stylesheet" href="{:asset('admin/vendors/font-awesome/css/font-awesome.css')}">
    <link rel="stylesheet" href="{:asset('admin/vendors/nprogress/nprogress.css')}">
    <link rel="stylesheet" href="{:asset('admin/css/admin.css')}">
    <script src="{:asset('admin/vendors/nprogress/nprogress.js')}"></script>
    <!--css内容-->
    {block name='css'}
    {/block}
</head>
<body>
<script>NProgress.start()</script>
<div class="main">
    <nav class="navbar">
        <button class="btn btn-default navbar-btn fa fa-bars"></button>
        <ul class="nav navbar-nav navbar-right">
            <li><a href="{:url('admin/index/personal')}"><i class="fa fa-user"></i>个人中心</a></li>
            <li><a href="{:url('admin/index/tuichu')}"><i class="fa fa-sign-out"></i>退出</a></li>
        </ul>
    </nav>
    <!--内容-->
{block name='content'}
{/block}
</div>
<div class="aside">
    <div class="profile">
        <img class="avatar" src="http://www.blog.com/{$data.0.mylogo}">
        <h3 class="name">admin</h3>
    </div>
    <ul class="nav">
        <li class="active">
            <a href="{:url('admin/index/index')}"><i class="fa fa-dashboard"></i>仪表盘</a>
        </li>
        <li>
            <a href="#menu-posts" class="collapsed" data-toggle="collapse">
                <i class="fa fa-thumb-tack"></i>文章<i class="fa fa-angle-right"></i>
            </a>
            <ul id="menu-posts" class="collapse">
                <li><a href="{:url('admin/blog/index')}">所有文章</a></li>
                <li><a href="{:url('admin/blog/blogadd')}">写文章</a></li>
                <li><a href="{:url('admin/cate/index')}">分类目录</a></li>
            </ul>
        </li>
        <li>
            <a href="{:url('admin/discuss/index')}"><i class="fa fa-comments"></i>评论</a>
        </li>
    </ul>
</div>
</body>

<!--js内容-->
<script src="{:asset('admin/vendors/jquery/jquery.js')}"></script>
<script src="{:asset('admin/vendors/bootstrap/js/bootstrap.js')}"></script>
<script src="{:asset('admin/layer/2.4/layer.js')}"></script>
<script>NProgress.done()</script>
{block name='js'}
{/block}
</html>